package com.tanhua.common.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 题目选项表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_soul_question_option")
public class Option extends BasePojo {
    private Long id;            //题目选项id
    private String content;     //选项内容
    private String medias;      //
    private Long questionId;   //题目id
    private Byte score;       //得分
    @TableField(fill = FieldFill.INSERT)  //MP自动填充
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
